]> dgit.raspbian.org Git - gnome-shell.git/commit
notificationDaemon: Keep source alive when replacing notification
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 26 Nov 2016 18:32:22 +0000 (19:32 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 28 Nov 2016 14:42:23 +0000 (15:42 +0100)
commitaccd24e379374b202791af2b3e065e1fca4fa406
treea534724a157d597dd255ff46522dd56b925de34d
parent75d797a0ac11e489b2153c01c4158dd16958b76d
notificationDaemon: Keep source alive when replacing notification

When a GNotification has the same ID as a previous one, it should
be shown as a new notification after withdrawing the old one.
However for this to work, we must not destroy the corresponding
source if withdrawing the old notification lets the notification
count drop to zero, so make sure the source is kept alive until
the replace operation has completed.

https://bugzilla.gnome.org/show_bug.cgi?id=775149
js/ui/notificationDaemon.js